home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Novice ODF scripting mystery
- Sent: 8/14/96 6:04 AM
- Received: 8/14/96 8:43 AM
- From: Eric Smith, eric@tarkvara.org
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Greg Friedman wrote:
- >Are the statements that reference your part's custom terminology within a
- >tell block that says, "tell application documentName", where documentName
- >is the name of your document, not "OpenDocâ„¢"?
-
- Yes, I used "tell application documentName", because that's what the
- ODFDraw sample script did. Was that the right thing to do?
-
- As I said, ODFDraw displays the same problem: when I open the ODFDraw
- sample script in Script Editor, all references to "shape" appear as <<class
- DrSh>> (and yes, the ODFDraw Sample document was already open when I opened
- the script).
-
- One oddity of "tell application documentName" is that if I try the script
- when "documentName" isn't open, Script Editor puts up a standard open
- dialog to find the application... but of course the document's type is not
- 'APPL', so it can't be selected.
-
- Eric Smith eric@tarkvara.org
- Tarkvara Design
-
-
-